package com.junci.mtest.views.activity;

import android.os.Bundle;
import android.view.View;
import androidx.annotation.Nullable;
import com.junci.mtest.R;
import com.junci.mtest.utils.NavigationUtil;
import com.junci.mtest.views.BaseActivity;



public class SplashActivity extends BaseActivity {

    private View view;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_splash);
        next();
    }

    private void next() {
//        AndPermission.with(this).runtime().permission(Permission.READ_EXTERNAL_STORAGE,Permission.WRITE_EXTERNAL_STORAGE, Permission.READ_PHONE_STATE).start();
        NavigationUtil.build(this, MainActivity.class).start();
        removeActivity();
    }

}
